package net.melon.review.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import net.esj.basic.pojo.AbstractPojo;

public class Review extends AbstractPojo<Integer>{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8353783625730784629L;
	
	public static enum ReviewIntentionPrice{
		
		LEVEL_1(1),//0-5
		LEVEL_2(2),//5-10
		LEVEL_3(3),//10-15
		LEVEL_4(4),//15-20
		LEVEL_5(5),//20-25
		LEVEL_6(6),//25-30
		LEVEL_7(7);//30--
		
		private ReviewIntentionPrice(int level){
			this.level = level;
		}
		
		public static ReviewIntentionPrice valueOf(int level){
			for(ReviewIntentionPrice st : values()){
				if(st.getLevel() == level){
					return st;
				}
			}
			return null;
		}
		
		private int level;

		public int getLevel() {
			return level;
		}

		public void setLevel(int level) {
			this.level = level;
		}
		
	}
	
	public static enum ReviewState{
		
		DRAFT(0),//草稿
		PASS(1),//通过
		NO_PASS(2);//不通过
		
		private int state;
		
		private ReviewState(int state){
			this.state = state;
		}
		
		public static ReviewState valueOf(int state){
			for(ReviewState rs : values()){
				if(rs.getState() == state){
					return rs;
				}
			}
			return null;
		}

		public int getState() {
			return state;
		}

		public void setState(int state) {
			this.state = state;
		}
		
	}
	
	private Integer id;
	
	private String intentionCar;
	
	private int intentionPrice;
	
	private int province;
	
	private int city;
	
	private int marriage;//婚配
	
	private int house;//房产
	
	private String name;
	
	private String phone;
	
	private String identitys;
	
	private String authorization;//授权
	
	private int state;
	
	private Date gmtCreate;
	
	private String memberId;
	
	private String accountBook;//户口本
	
	private String marriageCertificate;//结婚证
	
	private String houseCertificate;//房产证
	
	private String income;//收入证明
	
	private String bank;//银行流水
	
	private String driversLicense;//驾驶证
	
	//dto
	private List<String> identityList = new ArrayList<String>();
	private List<String> accountBookList = new ArrayList<String>();
	private List<String> marriageCertificateList = new ArrayList<String>();
	private List<String> houseCertificateList = new ArrayList<String>();
	private List<String> incomeList = new ArrayList<String>();
	private List<String> bankList = new ArrayList<String>();
	private List<String> driversLicenseList = new ArrayList<String>();
	private String provinceStr;
	private String cityStr;
	private String memberName;
	public static String review_path;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public int getIntentionPrice() {
		return intentionPrice;
	}

	public void setIntentionPrice(int intentionPrice) {
		this.intentionPrice = intentionPrice;
	}

	public int getProvince() {
		return province;
	}

	public void setProvince(int province) {
		this.province = province;
	}

	public int getCity() {
		return city;
	}

	public void setCity(int city) {
		this.city = city;
	}

	public int getMarriage() {
		return marriage;
	}

	public void setMarriage(int marriage) {
		this.marriage = marriage;
	}

	public int getHouse() {
		return house;
	}

	public void setHouse(int house) {
		this.house = house;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdentitys() {
		return identitys;
	}

	public void setIdentitys(String identitys) {
		this.identitys = identitys;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAuthorization() {
		return authorization;
	}

	public void setAuthorization(String authorization) {
		this.authorization = authorization;
	}

	public String getIntentionCar() {
		return intentionCar;
	}

	public void setIntentionCar(String intentionCar) {
		this.intentionCar = intentionCar;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String getAccountBook() {
		return accountBook;
	}

	public void setAccountBook(String accountBook) {
		this.accountBook = accountBook;
	}

	public String getMarriageCertificate() {
		return marriageCertificate;
	}

	public void setMarriageCertificate(String marriageCertificate) {
		this.marriageCertificate = marriageCertificate;
	}

	public String getHouseCertificate() {
		return houseCertificate;
	}

	public void setHouseCertificate(String houseCertificate) {
		this.houseCertificate = houseCertificate;
	}

	public String getIncome() {
		return income;
	}

	public void setIncome(String income) {
		this.income = income;
	}

	public String getBank() {
		return bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public String getDriversLicense() {
		return driversLicense;
	}

	public void setDriversLicense(String driversLicense) {
		this.driversLicense = driversLicense;
	}

	public List<String> getIdentityList() {
		return identityList;
	}

	public void setIdentityList(List<String> identityList) {
		this.identityList = identityList;
	}

	public List<String> getAccountBookList() {
		return accountBookList;
	}

	public void setAccountBookList(List<String> accountBookList) {
		this.accountBookList = accountBookList;
	}

	public List<String> getMarriageCertificateList() {
		return marriageCertificateList;
	}

	public void setMarriageCertificateList(List<String> marriageCertificateList) {
		this.marriageCertificateList = marriageCertificateList;
	}

	public List<String> getHouseCertificateList() {
		return houseCertificateList;
	}

	public void setHouseCertificateList(List<String> houseCertificateList) {
		this.houseCertificateList = houseCertificateList;
	}

	public List<String> getIncomeList() {
		return incomeList;
	}

	public void setIncomeList(List<String> incomeList) {
		this.incomeList = incomeList;
	}

	public List<String> getBankList() {
		return bankList;
	}

	public void setBankList(List<String> bankList) {
		this.bankList = bankList;
	}

	public List<String> getDriversLicenseList() {
		return driversLicenseList;
	}

	public void setDriversLicenseList(List<String> driversLicenseList) {
		this.driversLicenseList = driversLicenseList;
	}

	public String getProvinceStr() {
		return provinceStr;
	}

	public void setProvinceStr(String provinceStr) {
		this.provinceStr = provinceStr;
	}

	public String getCityStr() {
		return cityStr;
	}

	public void setCityStr(String cityStr) {
		this.cityStr = cityStr;
	}

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public String getReview_path() {
		return review_path;
	}

	public void setReview_path(String review_path) {
		this.review_path = review_path;
	}
	
}
